package com.laf.service.impl;

import com.laf.mapper.AdminMapper;
import com.laf.model.Lafadmin;
import com.laf.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: he changjie on 2019/3/17
 * @Description:
 */
@Service("AdminService")
public class AdminServiceImpl implements AdminService {
    @Resource
    private AdminMapper mapper;

    @Override
    public Lafadmin login(Lafadmin admin) {
        return mapper.login(admin);
    }
}
